home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
gt700.arc
/
GT.BAT
< prev
next >
Wrap
DOS Batch File
|
1986-07-08
|
1KB
|
55 lines
echo off
echo .
echo . Use this .BAT file to run GT from a RAM disk.
echo .
if "%1" == "" goto warn
if "%2" == "" goto warn
echo . Once GT has been started, the program disk can be removed,
echo . but it will be needed when you exit GT.
echo .
echo . NOTE: You may need to change the "Phone Directory PATH" in the
echo . GT configuration file. Use the ALT-I command, then set
echo . it to point to the RAM disk.
echo .
pause
echo .
echo . Loading files to the RAM disk.
echo .
%2
echo on
copy %1gt700.000
copy %1gt.dir
copy %1gt.cnf
copy %1gt.key
copy %1gt.log
echo off
%1gt700 %3
%1
echo .
echo . Saving the configuration and directory files.
echo .
echo on
copy %2gt.dir
copy %2gt.cnf
copy %2gt.key
copy %2gt.log
goto fin
:warn
echo .
echo . ERROR: You must specify the drives to use!
echo .
echo . Example: "GT A: C: S".
echo .
echo . Where: A: is the program disk and
echo . C: is the RAM disk, and
echo . S is optional, the name of a
echo . script to execute, when GT is
echo . started.
echo .
echo . Also: The user should manually set the
echo . desired directories on each drive
echo . before executing this .BAT file.
echo .
echo on
:fin